package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_train_investigate")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrainInvestigateModel {
    @TableId(type = IdType.AUTO)
    public int id;
    public String isLocal;//是否本县劳动力
    public String localAddress;//本县劳动力地址
    public String notLocalAddress;//非本县劳动力户籍所在地
    public String name;//姓名
    public int age;//年龄
    public String sex;//性别
    public String nationId;//民族
    public String mobile;//联系电话
    public String type;//人员类型，汉字存放
    private String typeOther;//其他说明
    public String isTrain;//参加过职业技能培训么
    public String isNeed;//是否需要技能培训提高自己，汉字存放
    public String trainWish;//培训意愿，汉字存放
    public String trainWishOther;//培训意愿,其他说明
    public String career;//目前从事职业，汉字存放
    public String careerOther;//目前从事职业,其他说明
    public String workWish;//就业意愿
    public Integer salaryMin;//最小期望薪资
    public Integer salaryMax;//最大期望薪资
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    public Timestamp crtTime;//目前从事职业，汉字存放
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String localAddressText;



}
